#
# Be sure to run `pod lib lint OANetworkManager.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'OANetworkManager'
  s.version          = '0.7.1'
  s.summary          = 'OANetworkManager.'

  s.description      = <<-DESC
OA项目网络业务层
                       DESC

  s.homepage         = 'https://gitee.com/grxm/OANetworkManager'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT' }
  s.author           = { 'GuoRui' => 'xyt_gr@126.com' }
  s.source           = { :git => 'git@gitee.com:grxm/OANetworkManager.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '9.0'

  s.source_files = 'OANetworkManager/Classes/**/*'
  
  s.subspec 'model' do |m|
   m.source_files = 'OANetworkManager/Classes/Model/**/*'
   m.public_header_files = 'OANetworkManager/Classes/Model/**/*.h'
   m.dependency 'JRDB'
   m.dependency 'YYCache'
   m.dependency 'YYModel'
  end
  
  # s.resource_bundles = {
  #   'OANetworkManager' => ['OANetworkManager/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
    s.dependency 'MPMessagePack', '~> 1.4.5'
    s.dependency 'MBProgressHUD', '~> 1.0.0'
    s.dependency 'TFFoundation', '1.0.6-beta'
end
